package com.shenhaofeng.app.loader.list.listener;

import android.support.v4.widget.SwipeRefreshLayout;


/**
 * Created by Administrator on 2016/9/30.
 */
public interface OnRefreshStatusListener<D> {

    void onRefreshStart(SwipeRefreshLayout swipeRefreshLayout);


    void onRefreshSuccess(SwipeRefreshLayout swipeRefreshLayout, D data);


    void onRefreshCompleted(SwipeRefreshLayout swipeRefreshLayout);


    void onRefreshThrowable(SwipeRefreshLayout swipeRefreshLayout, Throwable throwable);
}
